// const server = require("./server")
// const p13 = require("./p13路由")
// server.startServer()
// const p14 = require("./p14重构路由")
const p15 = require('./p15get-post')
const router = require("./router")
const handler = require("./handler")

var handle = {};
handle["/"] = handler.home
handle["/home"] = handler.home
handle["/renewCart"] = handler.renewCart
handle["/readCart"] = handler.readCart
handle["/delUser"] = handler.delUser
    // p13.startServer2()

p15.startServer4(router.route, handle)